package net.openvision.music.model;

public class ScoreDataEvent {

	public static final int SCORE_OBJECT_ADDED = 0;
	public static final int SCORE_OBJECT_REMOVED = 1;
	public static final int SCORE_OBJECT_CHANGED = 2;

	private ScoreObject object;
	private int staffNr;
	private int[] barNrs;
	private int eventType;

	public ScoreDataEvent(ScoreObject object, int staffNr, int[] barNrs,
			int eventType) {
		this.staffNr = staffNr;
		this.barNrs = barNrs;
		this.eventType = eventType;
	}

	public Object getObject() {
		return object;
	}

	public int getStaffNr() {
		return staffNr;
	}

	public int[] getBarNrs() {
		return barNrs;
	}

	public int getEventType() {
		return eventType;
	}
}
